package com.yonyou.iuap.base.dao;

import java.util.List;


public abstract interface ISuperDAO<T>
{
  public abstract int deleteByPrimaryKey(String paramString);

  public abstract int insert(T paramT);

  public abstract T selectByPrimaryKey(String paramString);

  public abstract List<T> selectAll();

  public abstract int updateByPrimaryKey(T paramT);

  public abstract List<T> selectByCondition(String paramString);

  public abstract int countByCondition(String paramString);

  public abstract int deleteByCondition(String paramString);


	/**
	 * 
	 * 添加 （匹配有值的字段）
	 * 
	 **/
	int insertSelective( T paramT );

	/**
	 * 
	 * 修改 （匹配有值的字段）
	 * 
	 **/
	int updateByPrimaryKeySelective( T paramT);
}